/**
 * 
 */
package cw.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cw.entity.Team;

/**
 * @author Administrator
 *
 */
public interface TeamService {
	int deleteByPrimaryKey(Integer id);

    int insert(Team record);

    int insertSelective(Team record);

    Team selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Team record);

    int updateByPrimaryKey(Team record);
    
    List<Team> queryTeam(String teamName,String description,Integer offset, Integer pageSize);

    Integer getTotal(String teamName,String description);
    
    List<Team> query();
}
